define(["app/app"], function(app) {
    app.config(function($routeProvider) {
        $routeProvider
            .when("/", {
                templateUrl: "views/items.html",
                controller : "homeController"
            })
            .when("/mine", {
                template: "个人中心"
            })
            .otherwise({
                redirectTo : "/"
            })
    })
})
